package com.mcgrobot.entity.flow.card;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.NotBlank;

@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement
public class CardProperty implements Serializable {

	private static final long serialVersionUID = 1L;
	@NotBlank(message = "{flowCard.cardProperty.key.notBlank}")
    @XmlElement
    private String key;
    @NotBlank(message = "{flowCard.cardProperty.name.notBlank}")
    @XmlElement
    private String name;
    @NotBlank(message = "{flowCard.cardProperty.imgUrl.notBlank}")
    @XmlElement
    private String imgUrl;
    @XmlElement
    private String desc;
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
    
}
